package com.aduerr.v1shouyin.common;

/**
 * 类名: Constants
 * 此类用途: ---
 *
 * @Date: 2017-08-09 16:29
 * @FileName: com.aduer.shouyin.common.Constants.java
 */
public final class Constants {
//    正式地址
    public static final String BASE_URL = "http://apiblbl.aduer.com";
//    菩提
//    public static final String BASE_URL = "http://192.168.2.99:28086";
//    开发地址
//    public static final String BASE_URL = "http://apiblbl.dev.test.aduer.com";

//    预发
//     public static final String BASE_URL = "http://test.apiblbl.aduer.com";

    //紫菜测试
//    public static final String BASE_URL = "http://apiblbl.test.aduer.com";

    //更新版本号
    public static final String UPDATE_URL = BASE_URL + "/app/liandi_version.htm";

    //有云签名
//    public static final String UPDATE_URL = BASE_URL + "/app/liandi_aduer_version.htm";

    public static final String PUSH_URL = "http://api.push.aduer.com/v1/getpushconfig";
    public static final String KEY_FRAGMENT = "key_fragment";


    /* 数据库名 */
    public static final String DBName = "LaoBanLaiPos.db";

    /* 乐刷广播action，包名.com.yeahka.L3.RESULT */
    public static final String ACTION ="com.aduerr.v1shouyin.com.yeahka.L3.RESULT";


    /*
     *all sharedpreferences key
     */
    public static final String FIRST_IN = "first_in";
    public static final String ISCHECKEDPASSWORD = "ischeckedpassword";
    public static final String OPID = "opId";
    public static final String PASSWORD = "password";
    public static final String SITEUSERTYPE = "siteusertype";

    public static final String REALMONEY = "realMoney";
    public static final String PAYSTATE = "paystate";
    public static final String QRCODE_CAPUTER = "qrcode_caputer";
    public static final String GOTO_PAYSTATE_TYPE = "goto_paystate_type";
    public static final String GOTO_CALCULATOR_TYPE = "goto_calculator_type";
    public static final String SCANMEMBERNO = "scanMemberNo";
    public static final String REGISTER_PHONE = "register_phone";
    public static final String FROMORDERID = "FromOrderID";

    public static final String ORDER_MONEY = "OrderMoney";
    public static final String MEMBERID = "MemberId";

    /* 乐刷激活状态 */
    public static final String IS_ACTIVE = "isActive";


    /*
     * all fragment value
     */
    public static final int CALCULATOR_FRAGMENT = 0X01;
    public static final int MEMBERRECHARGE_FRAGMENT = 0X02;
    public static final int NUMBERINPUT_FRAGMENT = 0X03;
    public static final int MAKEQRCODEPAY_FRAGMENT = 0X04;
    public static final int WEB_REGISTER_FRAGMENT = 0X05;
    public static final int ORDER_RECORD_FRAGMENT = 0X06;
    public static final int ORDER_RECORD_DETAIL_FRAGMENT = 0X07;
    public static final int ORDER_HOME_BILL_FRAGMENT = 0X08;


    /*
     *all fragment TAG
     */
    public static final String HOME_FRAGMENT_TAG = "home_fragment_tag";
    /*
    all intent key   payStateEntity
     */
    public static final String PAYSTATEENTITY = "payStateEntity";
    public static final String MEMBERINFOENTITY = "memberInfoEntity";
    public static final String MEMBERRECHARGEANDCONSUMEENTITY = "memberInfoEntity";
    public static final String ORDERGETPOSORDERLENTITY = "orderGetPosOrderLEntity";
    public static final String ORDERREFUNDMENTITY = "orderRefundMEntity";
    public static final String ORDERGETPOSORDERLENTITY_DETAIL =
            "OrderGetPosOrderLEntity_Detail";


    /*
    boole
     */
    public static final String IS_SUCCESS_ORDERDETAIL = "is_success_orderdetail";

    /*
     * all qrCode key
     */
    public static final int MEMBER_RECHARGE_QR = -1 << 10;
    public static final int MEMBER_SCANCODEJIFEN_QR = -1 << 19;
    public static final int CARD_COUPONS_VERIFY_QR = -1 << 11;
    public static final int REFUND_QR = -1 << 12;
    public static final int SCANCODECOLLECTION_QR = -1 << 13;
    public static final int MEMBER_PAYMENT_QR = -1 << 14;
    public static final int MEMBER_SCANCODECOLLECTION_QR = -1 << 15;
    public static final int BIND_GUID_QR = -1 << 20;

    public static final int FROMMEMBER_TO_RECHARGE_CALCULATOR = -1 << 16;
    public static final int FROMMAINHOME_TO_RECHARGE_CALCULATOR = -1 << 17;
    public static final int PUBLIC_PRAISE_DETAILS = -1 << 18;

    public static final int PRE_AUTHO_MONEY = -1 << 23; //预售权
    public static final int PRE_AUTHO_REFUND = -1 << 24; //预售权撤销
    public static final int MEMBER_CONSUME_NEW = -1 << 26; //会员扫码支付

    public static final String PRE_AUTHO_PAY_MONEY = "pre_autho_pay_money"; //预售权商品金额
    public static final String PRE_AUTHO_PAY_DEPOSIT = "pre_autho_pay_deposit"; //预售权押金金额
    public static final String PRE_AUTHO_PAY_REMARK = "pre_autho_pay_remark"; //预售权押金金额
    public static final String PRE_AUTHO_INPUT = "pre_autho_input"; //


    /*
    ALL  不同paystateSuccess的界面key值
     */
    public static final int MEMBER_RECHARGE_TO_STATE = 10000;
    public static final int CARD_COUPONS_VERIFY_TO_STATE = 10001;
    public static final int MEMBER_PAYMENT_TO_STATE = 10002;
    public static final int SCANCODECOLLECTION_TO_STATE = 10003;
    public static final int CASH_TO_STATE = 10004;
    public static final int TUIKUAN_TO_STATE = 10005;


    //打印小票用的订单类型
    public static final int PRINT_TOTAL_ORDER = 100; //交易汇总打印
    public static final int PRINT_ORDER_DETAIL = 101; //订单详情打印
    public static final int PRINT_PRE_AUTHO_01 = 102; //预授权冻资中打印
    public static final int PRINT_PRE_AUTHO_02 = 103; //预授权完成打印
    public static final int PRINT_PRE_AUTHO_03 = 104; //预授权撤销打印
    public static final int PRINT_PRE_AUTHO_04 = 105; //预授权完成撤销打印
    public static final int PRINT_MEMBER_CONSUME = 106; //会员消费打印
    public static final int PRINT_MEMBER_RECHARGE = 107; //会员充值打印
    public static final int PRINT_LAST_ORDER = 108; //上一笔订单打印
    public static final int PRINT_REFUND_ORDER = 109; //退款订单打印
    public static final int PRINT_REFUND_RESULT_ORDER = 110; //退款结果打印
    public static final int PRINT_MEMBER_CONSUME_RESULT = 111; //会员消费打印
    public static final int PRINT_MEMBER_RECHARGE_RESULT = 112; //会员充值打印
    public static final int PRINT_MEMBER_RECHARGE_2 = 113; //会员充值打印
    public static final int PRINT_CASH_ORDER = 114; //会员充值打印
    public static final int PRINT_SCAN_ORDER = 115; //扫码订单打印
    public static final int PRINT_KOUBEI = 116; //口碑券
    public static final int PRINT_WX = 117; //微信卡券
    public static final int PRINT_HOTEL = 118; //酒店券
    public static final int PRINT_GIFT = 119; //礼品券
    public static final int PRINT_GROUP = 120; //礼品券

}
